package org.example.design.designmode.decoratorpattern.simple;

public class SausageDecorator extends BaseBattercakeDecorator {


    public SausageDecorator(Battercake battercake) {
        super(battercake);
    }

    @Override
    protected String getMsg() {
        return super.getMsg()+"加香肠";
    }

    @Override
    protected int getPrice() {
        return super.getPrice()+2;
    }
}
